package com.college.common.pojo.dto.userInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 用户登录参数
 * Created by macro on 2018/4/26.
 */
@Data
public class UserInfoRegisterDTO {

	@NotBlank(message = "账号不能为空")
	@ApiModelProperty(value = "用户名", required = true)
	private String username;

	@NotBlank(message = "密码不能为空")
	@ApiModelProperty(value = "密码", required = true)
	private String password;

	public UserInfoRegisterDTO() {
	}
}
